package com.atguigu.lease.common.utils;

import java.util.Random;

public class VerifyCodeUtil {
    public static String getVerifyCode(int length){
        Random random = new Random();
        String code = "";
        for (int i = 0; i < length; i++){
            code += random.nextInt(10);
        }
        return code;
    }
}
